#ifndef QMLADAPTER_H
#define QMLADAPTER_H

#include <QObject>
#include <QDebug>
#include <QQmlContext>

#include "frontendfiles/modelitems.h"
#include "frontendfiles/modelcollections.h"
#include "frontendfiles/modelproposala.h"
#include "frontendfiles/modelproposalb.h"

class QmlAdapter : public QObject
{
    Q_OBJECT
public:
    explicit QmlAdapter(QQmlContext*, QObject *parent = 0);


signals:
    void emitCollections(QMap<QString,QMap<QString,QString>>*);
private:
    ModelItems*  OBJ_ModelItems;
    ModelproposalA* OBJ_ModelproposalA;
    ModelCollections* OBJ_ModelCollections;
    QQmlContext* fromParent_PTR_qmlAsContext;
public slots:    
};

#endif // QMLADAPTER_H
